package com.gigrt.midend.marketing.impl.domain.campaign.event;

import com.gigrt.midend.marketing.impl.infrastructure.eventbus.IDomainEvent;
import com.gigrt.midend.marketing.impl.infrastructure.util.IdGenerator;
import java.util.Date;

public class ChannelDomainEvent implements IDomainEvent {

  private Date occurredOn = new Date();
  private double value;

  public ChannelDomainEvent(double aValue) {
    super();
    this.setValue(aValue);
  }

  public Date occurredOn() {
    return this.occurredOn;
  }

  @Override
  public boolean isSync() {
    return false;
  }

  private void setValue(double value) {
    this.value = value;
  }
}